package com.dyna.digit.process.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.dyna.constants.DateFatter;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @description digit_unit_info
 * @author zcw
 * @date 2024-09-21
 */
@Data
@ApiModel("digit_unit_info")
public class DigitUnitInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    @ApiModelProperty("主键     primary key")
    private Integer id;

    
    @ApiModelProperty("单位名称")
    private String unitName;

    
    @ApiModelProperty("单位类型（1上级主管单位；2主管单位；3建设单位）")
    private Integer type;

    
    @ApiModelProperty("单位code")
    private String unitCode;

    
    @ApiModelProperty("统一信用代码")
    private String creditCode;

    
    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = DateFatter.YYYY_MM_DD_HH_MM_SS)
    private LocalDateTime createTime;

}